package com.zhangxx.common.exception;


import com.zhangxx.common.response.resultCode.ResultCode;

/**
 * @ClassName ExceptionCast
 * @Description 异常抛出工具类
 * @Author leizhang
 * Date 2020/9/19 10:33 上午
 * @Version 1.0
 **/
public class ExceptionCast {
    /**
     * @Description : 自定义异常抛出工具类
     * @Author : leizhang
     * @Date 13:08 2022/3/18
     * @param resultCode
     * @return void
     **/ 
    public static void cast(ResultCode resultCode){
        throw  new CustomException(resultCode);
    }
}
